package com.xtyhz.pojo.dto;

import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "登录的参数类")
public class LoginDto {

    @Parameter(name = "username", description = "登录账号", required = true)
    private String username;

    @Parameter(name = "password", description = "登录密码", required = true)
    private String password;

    @Parameter(name = "code", description = "用户输入的验证码码", required = true)
    private String code;

    @Parameter(name = "uuid", description = "登录的uuid,用于取出Redis中的验证码", required = true)
    private String uuid;
}
